package com.company.site.wechat;

import org.springframework.stereotype.Repository;

import com.company.site.mode.reqMessage.ReqImageMessage;
import com.company.site.mode.reqMessage.ReqLinkMessage;
import com.company.site.mode.reqMessage.ReqLocationMessage;
import com.company.site.mode.reqMessage.ReqTextMessage;
import com.company.site.mode.reqMessage.ReqVideoMessage;
import com.company.site.mode.reqMessage.ReqVoiceMessage;

@Repository
public interface WeChatMapper {
	
	/**
	 * 保存用户发送的文本消息
	 * @param reqTxtMessage
	 */
	public void saveReqTextMessage(ReqTextMessage reqTxtMessage);
	
	/**
	 * 保存用户发送的图片消息
	 * @param reqImgMsg
	 */
	public void saveReqImgMsg(ReqImageMessage reqImgMsg);
	
	/**
	 * 保存用户发送的语音消息
	 * @param reqVoiMsg
	 */
	public void saveReqVoiceMsg(ReqVoiceMessage reqVoiMsg);
	
	
	/**
	 * 保存用户发送的视频消息
	 * @param reqVideoMsg
	 */
	public void saveReqVideoMsg(ReqVideoMessage reqVideoMsg);
	
	/**
	 * 保存用户发送的地理位置信息
	 * @param reqLocationMsg
	 */
	public void saveReqLocationMsg(ReqLocationMessage reqLocationMsg);
	
	/**
	 * 保存用户发送的链接信息
	 * @param reqLinkMsg
	 */
	public void saveReqLinkMsg(ReqLinkMessage reqLinkMsg);
	
}
